<!--{eval $_TPL['titles'] = array('群组话题');}-->
<!--{eval $_TPL['nosidebar']=1;}-->
<!--{template header}-->
<link href="template/voone/mtag.css" rel="stylesheet" type="text/css" />
<DIV class="mtag_all">
<DIV id=groupmaps>
<!--{if $_SGLOBAL['ad']['header']}--><div id="ad_header"><!--{ad/header}--></div><!--{/if}-->
<!--mail left-->
<!--{if !empty($_SGLOBAL[inajax])}-->
	<div id="space_photo">
		<h3 class="feed_header">
			<a href="space.php?uid=$space[uid]" class="r_option">返回个人主页</a>
			群组话题(共 $count 个)</h3>
		<!--{if $list}-->
		<ul class="line_list">
		<!--{loop $list $key $value}-->
			<li><a href="space.php?uid=$value[uid]&do=thread&id=$value[tid]" target="_blank">$value[subject]</a>
			<span class="gray">&nbsp;<a href="space.php?do=mtag&tagid=$value[tagid]" target="_blank">$value[tagname]</a></span></li>
		<!--{/loop}-->
		</ul>
		<div class="page">$multi</div>
		<!--{else}-->
		<div class="c_form">还没有话题列表。</div>
		<!--{/if}-->
	</div><br>
<!--{else}-->
<!--{template x_header}-->
<!--{if $space[self]}-->


<div class="tabs_header" style="margin-top:10px">
	<ul class="tabs">
		<li class="active"><a href="space.php?uid=$space[uid]&do=thread"><span>群组话题</span></a></li>
		<li><a href="space.php?do=mtag&view=me"><span>我参与的群组</span></a></li>
		<li><a href="space.php?do=mtag&view=manage"><span>我管理的群组</span></a></li>
		<li><a href="space.php?do=mtag&view=hot"><span>热门群组</span></a></li>
		<li><a href="space.php?do=mtag&view=recommend"><span>推荐群组</span></a></li>
		<li class="null"><a href="cp.php?ac=thread">发起新话题</a></li>

	</ul>
</div>

<!--{else}-->
<!--{eval 
	$_TPL['spacetitle'] = "话题";
	$_TPL['spacemenus'][] = "<a href=\"space.php?uid=$space[uid]&do=thread&view=me\">TA的所有话题</a>";
}-->
<!--{template space_menu}-->
<div class="h_status">按照发布时间排序</div>
<!--{/if}-->

</DIV>

<DIV id=groupmain>
<DIV class=group_left>
<form method="get" action="space.php">
<DIV class=group_search>
<DIV class=s_jiao_l><IMG src="template/voone/image/g_s_j_1.gif"></DIV>
<DIV class=s_jiao_r><IMG src="template/voone/image/g_s_j_2.gif"></DIV>
<DIV class=s_main><IMG src="template/voone/image/g_index_s.gif" 
align=absMiddle> &nbsp;


	<input name="searchkey" value="" size="15" class="t_input" size="15"  style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 1px; PADDING-LEFT: 1px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 2px; WIDTH: 350px; MARGIN-RIGHT: 3px; PADDING-TOP: 2px; BACKGROUND-COLOR: #dcdcdc; BORDER-RIGHT-WIDTH: 0px" type="text">
	<input name="searchsubmit" value="搜索话题" class="submit" type="submit">
	<input type="hidden" name="searchmode" value="1" />
	<input type="hidden" name="do" value="thread" />
	<input type="hidden" name="view" value="all" />
<IMG class=tagimg 
height=13 src="template/voone/image/tag_title.gif" width=122 align=absMiddle> 
<DIV class=s_jiao><IMG height=6 src="template/voone/image/tag_title_jiao.gif" 
width=12></DIV></DIV>
<DIV class=s_tags>
<UL>

</UL></DIV>
<DIV class=s_jiao_l2><IMG src="template/voone/image/g_s_j_3.gif"></DIV>
<DIV class=s_jiao_r2><IMG src="template/voone/image/g_s_j_4.gif"></DIV></DIV>
	</form>
<div class="h_status" style=" float:left">
	<a href="space.php?uid=$space[uid]&do=thread&view=hot"$actives[hot]>热门话题</a>
	<a href="space.php?uid=$space[uid]&do=thread&view=new"$actives[new]>最新话题</a>
	<a href="space.php?uid=$space[uid]&do=thread&view=me"$actives[me]>我的话题</a>
</div>

<!--{if $searchkey}-->
<div class="h_status">以下是搜索话题 <span style="color:red;font-weight:bold;">$searchkey</span> 结果列表</div>
<!--{/if}-->

<DIV class=group_index>

<!--{if $list}-->
<div class="topic_list">
	<table cellspacing="0" cellpadding="0">
		<thead>
			<tr>
				<td class="subject">主题</td>
				<td class="mtag">群组</td>
				<td class="author"><!--{if $_GET[view]!='me'}-->作者 <!--{/if}-->(回应/阅读)</td>
				<td class="lastpost">最后更新</td>
			</tr>
		</thead>
		<tbody>
		<!--{loop $list $key $value}-->
			<!--{eval $magicegg = ""}-->							
			<!--{eval if($value[magicegg]) for($i=0; $i<$value[magicegg]; $i++) $magicegg .= '<img src="image/magic/egg/'.mt_rand(1,6).'.gif" />';}-->
			<tr<!--{if $key%2==1}--> class="alt"<!--{/if}-->>
				<td class="subject">
					$magicegg <a href="space.php?uid=$value[uid]&do=thread&id=$value[tid]" <!--{if $value[magiccolor]}--> class="magiccolor$value[magiccolor]"<!--{/if}-->>$value[subject]</a>
					<!--{if $value[hot]}-->
					<br><span class="gray">$value[hot] 人推荐</span>
					<!--{/if}-->
				</td>
				<td><a href="space.php?do=mtag&tagid=$value[tagid]">$value[tagname]</a></td>
				<td class="author"><a href="space.php?uid=$value[uid]" title="{$_SN[$value[uid]]}">{$_SN[$value[uid]]}</a><br><em>$value[replynum]/$value[viewnum]</em></td>
				<td class="lastpost"><a href="space.php?uid=$value[lastauthorid]" title="{$_SN[$value[lastauthorid]]}">{$_SN[$value[lastauthorid]]}</a><br><!--{date('m-d H:i',$value[lastpost],1)}--></td>
			</tr>
		<!--{/loop}-->
		</tbody>
	</table>
	<div class="page">$multi</div>
</div>
<!--{else}-->
<div class="c_form">还没有话题列表。</div>
<!--{/if}-->
 
</DIV>
</DIV>

<!--右栏-->

<DIV class=group_right>

<DIV class=g_add><A href="cp.php?ac=mtag"><IMG 
src="template/voone/image/g_icon_add.gif"></A></DIV>

	<DIV style=" margin-top:10px">
<!--{if $rlist}-->
	<!--{loop $rlist $key $value}-->
<DIV class=g_list <!--{if $key%2==1}--> style="background: url(template/voone/image/g_index_bg2.gif) no-repeat;"<!--{/if}-->>
<DIV class=g_title><a href="space.php?do=mtag&tagid=$value[tagid]">$value[tagname]</a></DIV>
<DIV class=g_total>$value[membernum] <IMG src="template/voone/image/g_index_icon.gif" 
align=absMiddle></DIV>
<DIV class=g_type>
<UL>
  <LI style="float:left;"><a href="space.php?do=mtag&tagid=$value[tagid]"><img src="$value[pic]" style="width:60px;"></a>
  <LI style="float:right; width:85px">	<div class="gray">$value[title]</div>
					加入 <span class="num">$value[membernum]</span> 人
					<div class="gray">
						主: $value[threadnum], 回: $value[postnum]
					</div>
</LI></UL></DIV> </DIV>
		<!--{/loop}-->
<!--{/if}-->
</div></div>

</DIV>
<!--{/if}-->
</DIV>
<!--{template footer}-->
